﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.RBAC
{

    /// <summary>
    /// 修改角色权限命令
    /// </summary>
    public class UpdateRolePermissionCommand:IRequest<ApiResult<int>>
    {

        /// <summary>
        /// 角色Id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 角色权限Id
        /// </summary>
        public List<int> PermissionId { get; set; }

    }
}
